package com.ynet.middleground.mobile.approve.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 发送放款验证码请求信息
 */
@Data
@ApiModel(value = "发送放款验证码请求信息", description = "发送放款验证码请求信息")
public class SendLendersCaptchaCodeReq implements Serializable {

    private static final long serialVersionUID = 1816219887143993374L;

    @NotNull(message = "用户 id 不能为空")
    @ApiModelProperty(value = "用户 id", required = true)
    private Integer userId;

    @NotBlank(message = "流程实例 id 不能为空")
    @ApiModelProperty(value = "流程实例 id 不能为空", required = true)
    private String processInstanceId;

    @NotBlank(message = "任务Id不能为空")
    @ApiModelProperty(value = "任务Id", required = true)
    private String taskId;

}
